import { ADDNUM, REDUCENUM } from './types'
export default {
  [ADDNUM] (state, n) {
    state.num += n;
  },
  [REDUCENUM] (state, num) {
    state.num -= num
  }
}
